package com.lwq.imserver.model;

import lombok.Data;

import java.util.List;

/**
 * Description:
 * Author: LiuWenQing
 * Datetime: 2022/1/17 17:09
 */
@Data
public abstract class TransferModel {

    public static final String LOGIN = "login";
    public static final String LOGOUT = "logout";
    public static final String HEARTBEATS = "heartbeats";
    public static final String READED = "readed";
    public static final String REPLY = "reply";
    public static final String RECALL = "callback";
    public static final String SEND = "send";

    public static final String ADDROOM = "addRoom";
    public static final String REMOVEROOM = "removeRoom";

    public static final String APPLY_FRIEND = "friend_apply";

    public static final String GROUP = "2";
    public static final String SINGLE = "1";

    private String id;

    private String content;

    private String from;

    private String fromName;

    private String fromSex;

    private String fromAvatar;

    private String receive;

    private String receiveName;

    private String type;

    private String single;

    private String roomId;

    private Boolean callback;

    private long timestamp;

    private ChatRoom chatRoom;

    private FriendsApply apply;

    private List<String> imgUrls;

}
